package com.smartcommunity.entity.building;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "楼栋新增-单元实体")
public class UnitAddReq {

    @ApiModelProperty(value = "单元顺序号码")
    @NotBlank
    private Integer unitOrder;

    @ApiModelProperty(value = "单元号")
    @NotBlank
    private String unitNo;


    @ApiModelProperty(value = "楼层数")
//    @NotBlank
    @Deprecated
    private Integer floorCounts;

    @ApiModelProperty(value = "每层户数")
    @NotBlank
    private Integer houseCounts;

    @ApiModelProperty(value = "房号开始值")
    @NotBlank
    private Integer houseNoStart;

    @ApiModelProperty(value = "楼层起始值")
    @NotBlank
    private Integer floorStart;

    @ApiModelProperty(value = "楼层结束值")
    @NotBlank
    private Integer floorEnd;
}
